package com.mybatis.pojo;

import java.time.LocalDateTime;

/**
 * @author nmm
 * @date 2024-03-2024/3/7
 * @deriction njm......
 */
public class UserInfo {
    private  Long id;
    private String  name;
    private Long age;
    private String phone;
    private String staPos;
    private LocalDateTime addTime;
    private LocalDateTime upTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStaPos() {
        return staPos;
    }

    public void setStaPos(String staPos) {
        this.staPos = staPos;
    }

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }


    public LocalDateTime getUpTime() {
        return upTime;
    }

    public void setUpTime(LocalDateTime upTime) {
        this.upTime = upTime;
    }

    public UserInfo() {
    }

    public UserInfo(Long id, String name, Long age, String phone, String staPos, LocalDateTime addTime, LocalDateTime udateTime) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.phone = phone;
        this.staPos = staPos;
        this.addTime = addTime;
        this.upTime = udateTime;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                ", sta_Pos='" + staPos + '\'' +
                ", add_Time=" + addTime +
                ", udate_Time=" + upTime +
                '}';
    }
}
